package com.softwareconstruction.model;

import java.util.ArrayList;
import java.util.List;

public class Student {
    private String studentId;
    private String name;
    private List<Paper> papers;
    
    public Student(String studentId, String name) {
        this.studentId = studentId;
        this.name = name;
        this.papers = new ArrayList<>();
    }
    
    public String getStudentId() {
        return studentId;
    }
    
    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public List<Paper> getPapers() {
        return papers;
    }
    
    public void addPaper(Paper paper) {
        papers.add(paper);
    }
}